import React from 'react';

import DynamicComponent from '@shared/components/DynamicComponent';
import { IdValue } from '@ugeez/frontend-commons/lib/types';
import { SearchTablePageProps } from './types';

const SearchTablePageImporter = () => import(/* webpackChunkName: "SearchTablePage" */'./SearchTablePage');

const SearchTablePage = function<T extends IdValue>(props: SearchTablePageProps<T>) {
    return <DynamicComponent importer={SearchTablePageImporter} componentProps={props} />
}

export default SearchTablePage;

export * from './types';
